<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="mvc" uri="http://www.trkj.com/mvc/tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>感兴趣的商品</title>
<style type="text/css">
.footer{
				height: 800px;
				width: 90%;
				margin-left: 5%;
			}
			.goods{
				height: 370px;
				width: 100%;
				border-top: 1px solid #DEDEDE;
			}
			.footer_ul{
				height: 320px;
				width: 210px;
				list-style: none;
				margin-left:30px;
				padding-left:30px;
				padding-right: 10px;
				padding-bottom: 10px;
				float: left;
			}
			.footer_li{
				margin-right: 20px;
				padding-right: 20px;
			}
			.footer_picture{
				height: 220px;
				width: 190px;
				margin-top: 5px;
			}
			.footer_goods_title{
				text-align: center;
				color: #555;
			}
			.footer_goods_sell_price{
				text-align: center;
				color: #CA151D;
			}
			.footer_a{
				text-decoration: none;
			}
</style>
</head>
<body>
	<div class="footer">
		<h3>也许你会对下列商品感兴趣</h3>
		<div class="goods">
		<c:forEach items="${listgood }" var="u" varStatus="vs">
			<ul class="footer_ul">
			
				<li class="footer_li">
					<a class="footer_a" href="#">
						<img class="footer_picture" src="${u.p_newname }">
						<p class="footer_goods_title"><span>${u.g_name }</span></p>
						<p class="footer_goods_sell_price">${u.g_price }</p>
					</a>
				</li>
			
			</ul>
			</c:forEach>
		</div>
	</div>
</body>
</html>